xend: pass-through: use devfn instead of slots as the unit for pass-through
authorKeir Fraser <keir.fraser@citrix.com>
Sat, 27 Jun 2009 08:51:37 +0000 (09:51 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Sat, 27 Jun 2009 08:51:37 +0000 (09:51 +0100)
commit55d9f87d5c633b35fe44230525293613084220a4
treeb78652f3c7389ab3324ef7855321598c5e75ac0a
parent1a2b09e890179921f60f12061ab0c2a4ebaa2b8b
xend: pass-through: use devfn instead of slots as the unit for pass-through

Instead of suppling a slot number to qemu-xen, supply a devfn.

This and subsequent other changes will allow xend to ask
for more than one function to be inserted into a single slot -
by specifying which function of the slot should be used.

This is a minimal patch for this change. A subsequent
patch that has a lot of noise to rename slot to devfn
is intended to follow.

Cc: Dexuan Cui <dexuan.cui@intel.com>
Cc: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/util/pci.py
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendConstants.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/server/pciif.py
tools/python/xen/xm/main.py